package core.util;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.DispatcherServlet;
import org.springframework.web.servlet.HandlerAdapter;
import org.springframework.web.servlet.HandlerExecutionChain;

/**
 * @author songduk park
 * 
 */
public class BasicDispatcherServlet extends DispatcherServlet {

	@Override
	protected void doService(HttpServletRequest request,
			HttpServletResponse response) throws Exception {

		System.out.println("doService");
		super.doService(request, response);
	}

	@Override
	protected String getDefaultViewName(HttpServletRequest request)
			throws Exception {
		System.out.println("getDefaultViewName");
		return super.getDefaultViewName(request);
	}

	@Override
	protected HandlerExecutionChain getHandler(HttpServletRequest request,
			boolean cache) throws Exception {
		System.out.println("HandlerExecutionChain");
		
		
		return super.getHandler(request, cache);
	}

	@Override
	protected HandlerAdapter getHandlerAdapter(Object handler)
			throws ServletException {
		System.out.println("getHandlerAdapter");
		return super.getHandlerAdapter(handler);
	}

}
